x86/gdt: Drop write-only, xalloc()'d array from set_gdt()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 3 Aug 2015 17:05:43 +0000 (18:05 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 5 Aug 2015 09:32:45 +0000 (10:32 +0100)
commita7bd9b1661304500cd18b7d216d616ecf053ebdb
treea9c62d9cd02488ecc1e4a1c22c65bf9038e2b3a6
parent6ae35286aca73b93a3f10018795b63c17ec2b2ea
x86/gdt: Drop write-only, xalloc()'d array from set_gdt()

It is not used, and can cause a spurious failure of the set_gdt() hypercall in
low memory situations.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Ian Campbell <ian.campbell@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/arch/x86/mm.c